package com.icangya.domain;

import javax.persistence.*;

@Entity
@Table(name = "test_user")
public class TestUser {

    /**
     * 自增ID
	 */
    private int id;
    /**
     * 登录账号
     */
    private String user_id;
    /**
     * 登录密码(MD5加密)
     */
    private String user_pass;
    /**
     * 所在的树形结构的层级数
     */
    private int user_level;
    /**
     * 左侧的值
     */
    private int left_num;
    /**
     * 右侧的值
     */
    private int right_num;

    /**
     * 创建人
     */
    private String user_creator;
    /**
     * 创建时间（时间戳格式）
     */
    private long created_time;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    @Basic
    @Column(name = "user_name")
    public String getUser_pass() {
        return user_pass;
    }

    public void setUser_pass(String user_pass) {
        this.user_pass = user_pass;
    }

    public int getUser_level() {
        return user_level;
    }

    public void setUser_level(int user_level) {
        this.user_level = user_level;
    }

    public int getLeft_num() {
        return left_num;
    }

    public void setLeft_num(int left_num) {
        this.left_num = left_num;
    }

    public int getRight_num() {
        return right_num;
    }

    public void setRight_num(int right_num) {
        this.right_num = right_num;
    }

    public String getUser_creator() {
        return user_creator;
    }

    public void setUser_creator(String user_creator) {
        this.user_creator = user_creator;
    }

    public long getCreated_time() {
        return created_time;
    }

    public void setCreated_time(long created_time) {
        this.created_time = created_time;
    }







}
